<table class="sortable">
 <thead>
	<tr>
		<th>Date</th>
		<th>Injection</th>
		<th>State</th>
		<th>Ear Tags</th>
		<th>Researchers</th>
		<th>Study</th>
	</tr>
 </thead>
 <tbody>
{% for experiment in experiment_list %}
	<tr>
		<td><a href="/mousedb/experiment/{{ experiment.id }}">{{ experiment.date }}</a></td>
		<td>{{ experiment.injection }}</td>
		<td>{{ experiment.feeding_state }}</td>
		<td>{% for animal in experiment.animals.all %}<a href = "/mousedb/mouse/{{ animal.id }}">{{ animal.MouseID}},</a>{% endfor %} </td>
		<td>{% for researcher in experiment.researchers.all %}{{ researcher }} {% endfor %}</td>
		<td>{% if experiment.study %}<a href="/mousedb/study/{{experiment.study.id}}">{{ experiment.study}}</a>{% endif %}</td>
	</tr>
{% endfor %}
</tbody>
</table>
